import request from '@/utils/request'

// 分页查询校园卫生
export function getList(params) {
    return request({
        url: '/workmgr/HygieneDormitory/list',
        method: 'get',
        params
    })
}


export function addOrUpdateHygiene(data) {
    return request({
        url: '/workmgr/HygieneDormitory/addOrUpdate',
        method: 'Post',
        data
    })
}


export function deleteByIds(ids) {
    return request({
        url: '/workmgr/HygieneDormitory/deleteByIds/'+ids,
        method: 'delete'
    })
}

export function buildList(params) {
    return request({
        url: '/workmgr/HygieneDormitory/build/list',
        method: 'get',
        params
    })
}
//  getlist
export function getlistbuild() {
  return request({
    url: '/workmgr/HygieneDormitory/build/getlist',
    method: 'get',
  })
}
